<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<!-- User info -->
<div class="login-info">
	<span> <!-- User image size is adjusted inside CSS, it should stay as is --> 
		
		<a href="javascript:void(0);" id="show-shortcut" data-action="toggleShortcut">
			<img src="img/avatars/sunny.png" alt="me" class="online" /> 
			<span>
				${sessionScope.USER_VIEW.nombre}
			</span>
		</a> 
		
	</span>
</div>
<!-- end user info -->

<!-- NAVIGATION : This navigation is also responsive

To make this navigation dynamic please make sure to link the node
(the reference to the nav > ul) after page load. Or the navigation
will not initialize.
-->
<nav>

	<ul>
		<%--	
		<li class="">
			<a href="ajax/dashboard.html" title="Dashboard"><i class="fa fa-lg fa-fw fa-home"></i> <span class="menu-item-parent">Dashboard</span></a>
		</li>
		 --%>
		<sec:authorize access="hasAnyRole('ROLE_ADD_USR','ROLE_EDIT_USR','ROLE_DELETE_USR')">
			<li>
				<a href="ajax/usuarios.html"><i class="fa fa-lg fa-fw fa-user"></i> <span class="menu-item-parent">Usuarios</span></a>
			</li>
		</sec:authorize>
		
		<sec:authorize access="hasAnyRole('ROLE_ADD_CONT','ROLE_EDIT_CONT','ROLE_DELETE_CONT')">
			<li>
				<a href="ajax/contabilidad.html"><i class="fa fa-lg fa-fw fa-table"></i> <span class="menu-item-parent">Contabilidad</span></a>
			</li>
		</sec:authorize>
		
		
		<sec:authorize access="hasAnyRole('ROLE_ADD_FINZ','ROLE_EDIT_FINZ','ROLE_DELETE_FINZ')">
			<li>
				<a href="ajax/finanzas.html"><i class="fa fa-lg fa-fw fa-bar-chart-o"></i> <span class="menu-item-parent">Finanzas</span></a>
			</li>
		</sec:authorize>
		
		<sec:authorize access="hasAnyRole('ROLE_ADD_AE','ROLE_EDIT_AE','ROLE_DELETE_AE')">
			<li>
				<a href="ajax/buscar_acta_de_entrega.html"><i class="fa fa-lg fa-fw fa fa-search"></i> <span class="menu-item-parent">Buscar Acta</span></a>
			</li>
		</sec:authorize>
		
		<sec:authorize access="hasAnyRole('ROLE_ADD_AE','ROLE_EDIT_AE','ROLE_DELETE_AE')">
			<li>
				<a href="ajax/actas_de_entrega.html"><i class="fa fa-lg fa-fw fa-file-text-o"></i> <span class="menu-item-parent">Acta de Entrega</span></a>
			</li>
		</sec:authorize>
	</ul>
</nav>

<span class="minifyme" data-action="minifyMenu"> <i class="fa fa-arrow-circle-left hit"></i> </span>